home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / xlib03.zip / XPBITMAP.H < prev    next >
Text File  |  1993-04-05  |  2KB  |  54 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XPBITMAP - header file
  4. ;
  5. ;
  6. ;
  7. ; ****** XLIB - Mode X graphics library                ****************
  8. ; ******                                               ****************
  9. ; ****** Written By Themie Gouthas                     ****************
  10. ; ****** Aeronautical Research Laboratory              ****************
  11. ; ****** Defence Science and Technology Organisation   ****************
  12. ; ****** Australia                                     ****************
  13. ;
  14. ; egg@dstos3.dsto.gov.au
  15. ; teg@bart.dsto.gov.au
  16. ;
  17. ;  Terminology & notes:
  18. ;         VRAM ==   Video RAM
  19. ;         SRAM ==   System RAM
  20. ;         X coordinates are in pixels unless explicitly stated
  21. ;
  22. ;-----------------------------------------------------------------------*/
  23.  
  24. #ifndef _XPBITMAP_H_
  25. #define _XPBITMAP_H_
  26.  
  27.  
  28. /* FUNCTIONS =========================================================== */
  29.  
  30. extern void x_put_masked_pbm(  /* Copy a planar bitmap from SRAM masking */
  31.               WORD X,          /* only non zero pixels to VRAM           */
  32.               WORD Y,
  33.               WORD ScrnOffs,
  34.               BYTE far * Bitmap);
  35.  
  36. extern void x_put_pbm(         /* Copy a planar bitmap from SRAM to VRAM */
  37.               WORD X,
  38.               WORD Y,
  39.               WORD ScrnOffs,
  40.               BYTE far * Bitmap);
  41.  
  42. extern void x_get_pbm(         /* Copy a planar bitmap from VRAM to SRAM */
  43.               WORD X,
  44.               WORD Y,
  45.               BYTE Bw,
  46.               BYTE Bh,
  47.               WORD ScrnOffs,
  48.               BYTE far * Bitmap);
  49.  
  50.  
  51. #endif
  52.  
  53.  
  54.